package com.vdong.common.oauth.common.enums;

public class WeixinApiUrlContract {
    public static final String API_GET_SESSION = "https://api.weixin.qq.com/sns/jscode2session?"
            + "appid=${appId}&secret=${secret}&js_code=${code}&grant_type=authorization_code";
    public static final String API_GET_USER_ACCESS_TOKEN = "https://api.weixin.qq.com/sns/oauth2/access_token?"
            + "appid=${appId}&secret=${secret}&code=${code}&grant_type=authorization_code";
    public static final String OPENPLAT_API_GET_SESSION = "https://api.weixin.qq.com/sns/component/jscode2session?"
            + "appid=${appId}&js_code=${code}&grant_type=authorization_code&"
            + "component_appid=${componentAppId}&component_access_token=${componentAccessToken}";
    public static final String OPENPLAT_API_GET_SESSION2 = "https://api.weixin.qq.com/sns/jscode2session?"
            + "appid=${appId}&js_code=${code}&grant_type=authorization_code&"
            + "secret=${secret}";

}
